


Route::group(function () {
    //问卷
        Route::get("/survey_list", "app\api\controller\Survey@list")->name("survey.survey_list");// 问卷列表
        Route::get("/survey_detail", "app\api\controller\Survey@survey_detail")->name("survey.survey_detail");// 问卷详情
        Route::post("/survey_submit", "app\api\controller\Survey@survey_submit")->name("survey.survey_submit");// 提交问卷
    })
->allowCrossDomain()
->middleware(\app\api\middleware\TokenMiddleware::class,true);// jwt认证